package com.maple.phoneward.utils;

import android.util.Log;

/**
 * LoggerUtils.java
 * 
 * @author YaJian Qiu
 * @time 2013-3-17 下午10:09:58<br>
 *       本类描述：日志工具类
 * 
 */
public class Logger {

	private static boolean dLogSwitch = true;// 日志开关
	private static boolean eLogSwitch = true;// 日志开关
	// private static boolean logSwitch = false;//日志开关

	public static final void d(String tag, String msg) {
		if (dLogSwitch)
			Log.d("365-" + tag, msg);
	}

	public static final void e(String tag, String msg) {
		if (eLogSwitch)
			Log.d("365-" + tag, msg);
	}

	public static final void d(String tag, Object obj) {
		if (dLogSwitch)
			Log.d("365-" + tag, obj.toString());
	}

	public static final void e(String tag, Object obj) {
		if (eLogSwitch)
			Log.d("365-" + tag, obj.toString());
	}

}
